package com.eastfair.pay.dto;

import com.eastfair.core.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Du Xiaobo
 * @date 2023/4/23 9:19
 */
@Data
@ApiModel(value = "JyLogDTO", description = "荆艺调用日志")
public class JyLogDTO implements Serializable {
    private static final long serialVersionUID = -4938390935582050209L;
    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    /**
     * 是否调用成功：1是；0否
     */
    @ApiModelProperty(value = "是否调用成功：1是；0否")
    private Integer isSuccess;

    /**
     * 方法名称
     */
    @ApiModelProperty(value = "方法名称")
    private String methodName;


    /**
     * 关联表名
     */
    @ApiModelProperty(value = "关联表名")
    private String tableName;

    /**
     * 关联Id
     */
    @ApiModelProperty(value = "关联Id")
    private String linkId;

    /**
     * 请求参数
     */
    @ApiModelProperty(value = "请求参数")
    private String requestParameter;


    /**
     * 响应结果
     */
    @ApiModelProperty(value = "响应结果")
    private String responseResults;
}
